package com.github.gdxmap.core;

import com.badlogic.gdx.math.Rectangle;
import com.github.gdxmap.geometry.Bounds;
import com.github.gdxmap.geometry.Point;
import com.github.gdxmap.layer.Layer;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2016/12/6 0006.
 */

public class MapOptions implements Serializable {
    private String crs;
    private Point center;
    private int zoom;
    private int minZoom;
    private int maxZoom;
    private List<Layer> layers;
    private Rectangle maxBounds;
    //缩放是否需要动画
    private boolean zoomAnimation;

    public String getCrs() {
        return crs;
    }

    public void setCrs(String crs) {
        this.crs = crs;
    }

    public Point getCenter() {
        return center;
    }

    public void setCenter(Point center) {
        this.center = center;
    }

    public int getZoom() {
        return zoom;
    }

    public void setZoom(int zoom) {
        this.zoom = zoom;
    }

    public int getMinZoom() {
        return minZoom;
    }

    public void setMinZoom(int minZoom) {
        this.minZoom = minZoom;
    }

    public int getMaxZoom() {
        return maxZoom;
    }

    public void setMaxZoom(int maxZoom) {
        this.maxZoom = maxZoom;
    }

    public List<Layer> getLayers() {
        return layers;
    }

    public void setLayers(List<Layer> layers) {
        this.layers = layers;
    }

    public Rectangle getMaxBounds() {
        return maxBounds;
    }

    public void setMaxBounds(Rectangle maxBounds) {
        this.maxBounds = maxBounds;
    }

    public boolean isZoomAnimation() {
        return zoomAnimation;
    }

    public void setZoomAnimation(boolean zoomAnimation) {
        this.zoomAnimation = zoomAnimation;
    }
}
